#-*- coding: utf-8 -*-
from openerp.osv import osv, fields

class ship_line(osv.Model):

    _name="chus.ship.line"

    _columns = {
        'link': fields.char('Link product'),
        'size': fields.char('Size', size=24),
        'color': fields.char('Color', size=24),
        'Price_on_web': fields.float('Price on web site'),
        'quantity': fields.integer('Quantity'),
        'ship_inland': fields.float('Postage inland'), #phi noi dia
        'tax': fields.float('Tax'),
        'buy_postage': fields.float('Buy postage'), # phi mua ho
        'ship_postage': fields.float('Ship postage'), # phi chuyen hang tu us ve vn
        'postage_with_weight': fields.float('Postage with weight'), # gia theo trong luong san pham
        'number_checking': fields.char('Number checking'),
        'sate': fields.selection((('p','Process'),('c','Cancel')), string='State'),
        'ship': fields.many2one('chus.ship', string='Ship'), 
    }